package codex

  1. Overview
  2. Docs
The Codex library for building static analysers based on abstract interpretation

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.0-rc4.tar.gz
md5=bc7266a140c6886add673ede90e335d3
sha512=8da42c0ff2c1098c5f9cb2b5b43b306faf7ac93b8f5ae00c176918cee761f249ff45b29309f31a05bbcf6312304f86a0d5a000eb3f1094d3d3c2b9b4c7f5c386

doc/While tutorial.html

Extending Codex to a simple while language

We present a tutorial on a simple imperative while language, and demonstrates how to statically analyze programs written in it using Codex, a modular abstract interpretation library. This also serves as a nice introduction to various codex components (Lattices, Single_value_abstraction, Domains...). It is mostly meant for developers who wish to use and extend Codex.

  • Chapter 1: Contains the syntax which is defined with variables, arithmetic, boolean expressions, and control structures (e.g., if and while). It also provides a concrete interpreter for the while language;
  • Chapter 2: Describes Lattices and Single_value_abstraction with simpler implementations;
  • Chapter 3: Contains simple interval abstract domain which is then used to run the analysis on simple while programs;
  • Chapter 4: Shows how one can use Codex building blocks to recreate the interval domain from chapter 3.